package com.xjrh.traintravel.collector.netty.command.upgrade;

import com.xjrh.traintravel.collector.netty.command.BaseCommand;

import java.io.Serializable;

/**
 * 升级通用-命令响应
 *
 * @author snps
 * @create 2022-02-18 15:31
 * @describe
 **/
public class UpgradeCommonApply extends BaseCommand implements Serializable {

    private static final long serialVersionUID = 6766388386717310457L;


    /**
     * 升级应答（结果）
     *      01-正常
     *      02-异常
     */
    private int result;


    /*****************************************
     * Getter and Setter
     */
    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }


    @Override
    public String toString() {
        return "UpgradeCommonApply{" +
                "result=" + result +
                '}';
    }

}